<link rel="stylesheet" href="__STATIC__/plugs/lay-module/treetable-lay/treetable.css?v={:time()}" media="all">
<style>
    /*.layui-btn:not(.layui-btn-lg ):not(.layui-btn-sm):not(.layui-btn-xs) {*/
    /*    height: 34px;*/
    /*    line-height: 34px;*/
    /*    padding: 0 8px;*/
    /*}*/
    /*!*.layui-table-cell{*!*/
    /*!*display:table-cell;*!*/
    /*!*vertical-align: middle;*!*/
    /*!*}*!*/
    /*able{table-layout: fixed;}*/
    /*td{word-break: break-all; word-wrap:break-word;}*/
    /*.layui-fluid {*/
    /*    height:auto;*/
    /*}*/
    /*.layui-table-cell  {*/
    /*    height:auto;*/
    /*    overflow:visible;*/
    /*    text-overflow:inherit;*/
    /*    white-space:pre-line;*/
    /*}*/
</style>
<script>
    var parameter = '{$parameter}';
</script>
<div class="layuimini-container">
    <div class="layuimini-main">
        <table id="currentTable" class="layui-table layui-hide"
               data-auth-add="{:auth('system.fields/add')}"
               data-auth-edit="{:auth('system.fields/edit')}"
               data-auth-delete="{:auth('system.fields/delete')}"
               lay-filter="currentTable">
        </table>
    </div>
</div>
<script type="text/html" id="toolbar">
    <button class="layui-btn layui-btn-sm layuimini-btn-primary" data-treetable-refresh><i class="fa fa-refresh"></i> </button>
    <button class="layui-btn layui-btn-sm layui-btn-danger {if !auth('system.fields/del')}layui-hide{/if}" data-url="system.fields/del" data-treetable-delete="currentTableRenderId"><i class="fa fa-trash-o"></i> 删除</button>
</script>